<div class="points">
	<div class="mainnav">
		<div class="nav-li first">返利管理</div>
	</div>

	<div class="maintitle">当前位置：<span>返利管理</span></div>

	<div class="box">
		<table class="info">
			<thead>
				<td class="number">商家</td>
				<td class="get">推荐订单数</td>
				<td class="price">获得积分</td>
				<td class="get">既得红利</td>
				<td class="method">操作</td>
			</thead>
			{{#each bus_user_bind}}
				<td>{{bus_id}}</td>
				<td>{{achs.length}}</td>
				<td>{{acc}}</td>
				<td>{{_money}}</td>
				<td>
					{{#if state==$Top.config.bus_user_bind_status.weishenqingduihuan}}
						{{#if !_money}}
						<div class="info">无红利，无法申请</div>
						{{#else}}
						<input type="button" event-click="{{'$Top.$Event.user.weishenqingduihuan_to_shenqingduihuanzhong'}}" class="do" name="do" value="申请红利兑现" />
						{{/if}}
					{{/if}}
					{{#if state==$Top.config.bus_user_bind_status.shenqingduihuanzhong}}
					<div class="info">申请已发送，等待商家发款</div>
					{{/if}}
					{{#if state==$Top.config.bus_user_bind_status.shangjiayijingfukuan}}
						<div class="info">商家确认发款</div>
						<input type="button" event-click="{{'$Top.$Event.user.shangjiayijingfukuan_to_yonghuquerenfukuan'}}" class="do" name="do" value="确认到帐" />
					{{/if}}
				</td>
			{{/each}}
		</table>
	</div>

</div>

